import * as ACT from './contants'

// export const setTest = (value) => ({
//     type: TEST,
//     value
// })

// header 选择
export const setActiveHeader = val => ({
    type: ACT.SET_HEDER_NAV,
    val
})

export const setUtilBar = val => ({
    type: ACT.SET_UTIL_BAR,
    val
})

export const setCurrentPhone = val => ({
    type: ACT.SET_PHONE_POSITION,
    val
})

export const setLeftMenuActive = val => ({
    type: ACT.SET_CURRENT_LEFT_MENU,
    val
})

export const setLeftMenuRouter = val => ({
    type: ACT.SET_LEFT_MENU_ROUTER,
    val
})

export const setHeaderHeight = val => ({
    type: ACT.SET_HEADER_HEIGHT,
    val
})